package com.tszs.biz;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.tszs.dao.mapper.CashManagementTableMapper;
import com.tszs.entity.CashManagementTable;
import com.tszs.entity.CashManagementTableExample;

/**
 * @类名:CashManagementTableBiz
 * @类描述:提现管理
 * @创建时间: 2019-03-21 11:49:11
 * @author 王俊
 *
 */
@Service
public class CashManagementTableBiz {
	@Autowired
	private CashManagementTableMapper cashManagementTableMapper;
	/**
	 * @方法名称:CashManagementTableBiz
	 * @方法类描述:提现管理分页
	 * @创建时间: 2019-03-21 11:49:11
	 * @author 王俊
	 *
	 */
	@Transactional
	public List<CashManagementTable> selectByExamplePage(CashManagementTable example){
		return cashManagementTableMapper.selectByExamplePage(example);
	}
	/**
	 * @方法名称:selectByExample
	 * @方法类描述:根据ID查找提现详情
	 * @创建时间: 2019-03-21 11:49:11
	 * @author 王俊
	 *
	 */
	@Transactional
	public List<CashManagementTable> selectByExample(CashManagementTableExample example){
		return cashManagementTableMapper.selectByExample(example);
	}
	/**
	 * @方法名称:selectByExample
	 * @方法类描述:根据ID查找提现详情
	 * @创建时间: 2019-03-21 11:49:11
	 * @author 王俊
	 *
	 */
	@Transactional
	public int updateByExampleSelective(CashManagementTable record,CashManagementTableExample example){
		return cashManagementTableMapper.updateByExampleSelective(record, example);
	}
}
